﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;

namespace XingNet.Web.Model.v1_users
{

    public class Sender
    {

      [JsonProperty("id")]
      public string Id { get; set; }

      [JsonProperty("display_name")]
      public string DisplayName { get; set; }
    }

    public class ContactRequest
    {

      [JsonProperty("sender_id")]
      public string SenderId { get; set; }

      [JsonProperty("sender")]
      public Sender Sender { get; set; }

      [JsonProperty("message")]
      public string Message { get; set; }

      [JsonProperty("received_at")]
      public string ReceivedAt { get; set; }
    }

    public class ContactRequestsResponse
    {

      [JsonProperty("contact_requests")]
      public ContactRequest[] ContactRequests { get; set; }
    }

  }

